import request from '@/utils/request';

// 分页查询业务明细列表
export function queryBusinessStepListPage(data: any): ApiPromise<ApiResponse> {
	return request({
		url: '/business-monitor/business/step/queryBusinessStepListPage',
		method: 'post',
		data: data,
		headers: {
			VERSION: 'lishilei',
		},
	});
}

// 导出步骤Excel文件
export function exportBusinessStepList(data: any): ApiPromise<ApiResponse> {
	return request({
		url: '/management/documentExportInfo/documentExport',
		method: 'post',
		data: data,
		responseType: 'blob',
		timeout: 600000,
		headers: {
			VERSION: 'lishilei',
		},
	});
}
